

$(function() {
	$('#head_mybook').click(function() {
		$('#head_mybook').css("background-color","#FFDEC9");
		$('#head_mybook').css("color","#AB5EA2");
		$("#chi_mybook").toggle(100);
		$("#chi_sharebook").toggle(100);
		$("#chi_myBorrowbook").toggle(100);
		$("#chi_myMessage").toggle(100);
	});
	
	$("#head_user_name_font").click(function() {
		location.href="userInfo.action";
	});
	
	$("#show_book_index").show();
	
	$("#chi_mybook").click(function(){
		location.href="book/myBook.action";
	});
	
	$("#chi_sharebook").click(function(){
		location.href="shareBook.action";
	});
	
	$("#head_user_name_div").click(function() {
		location.href="userInfo.action";
		
	});
	
	$("#chi_myBorrowbook").click(function(){
		location.href="myborrow.action";
		
	});
	
	$("#chi_myMessage").click(function(){
		location.href="userMessage.action";
		
	});
	
});